package com.dk.service.impl;

import com.dk.entity.TContentCategory;
import com.dk.mapper.TContentCategoryMapper;
import com.dk.service.ITContentCategoryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 广告类型表 服务实现类
 * </p>
 *
 * @author author
 * @since 2021-11-01
 */
@Service
public class TContentCategoryServiceImpl extends ServiceImpl<TContentCategoryMapper, TContentCategory> implements ITContentCategoryService {
    @Autowired
    private TContentCategoryMapper tContentCategoryMapper;
    @Override
    public List<TContentCategory> selecCategorytList() {
        List<TContentCategory> tContentCategoryList = tContentCategoryMapper.selectList(null);
        return tContentCategoryList;
    }
}
